#!/bin/sh

# 下载主题文件
git clone https://gitee.com/synchub/spaceship-prompt.git "$ZSH/custom/themes/spaceship-prompt" --depth=1
# 创建软连接
ln -s "$ZSH/custom/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH/custom/themes/spaceship.zsh-theme"


echo "请修改 ~/.zshrc , 编辑 ZSH_THEME 值为： spaceship 即： \n
---------------------------
# 修改zsh配置
vim ~/.zshrc
# 修改内容： 
ZSH_THEME=\"spaceship\"
# 生效
source ~/.zshrc\n
--------------------------"

exit 0;